package goods.vo;

import javax.persistence.Column;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created by Roney on 2017/1/17.
 *
 * 费率公用查询对象
 */
public class SalesPriceRateQueryVo implements Serializable {

    private String storeCode;
    /**
     * 第三方商户店铺ID，Store表id
     */

    private String storeId;
    /**
     * 合作企业id organization表id
     */

    private String organizationId;

    /**
     * 费率区间基准值，以京东为例：rangeVal = 协议价 / 京东价
     */
    private BigDecimal rangeVal;

    private boolean enabled=true;

    private Boolean isDelete = false;

    public SalesPriceRateQueryVo() {

    }


    public SalesPriceRateQueryVo(String storeCode, String storeId, String organizationId) {
        this.storeCode = storeCode;
        this.storeId = storeId;
        this.organizationId = organizationId;
    }

    public SalesPriceRateQueryVo(String storeCode, String storeId, String organizationId, BigDecimal rangeVal, boolean enabled, Boolean isDelete) {
        this.storeCode = storeCode;
        this.storeId = storeId;
        this.organizationId = organizationId;
        this.enabled = enabled;
        this.isDelete = isDelete;
        this.rangeVal = rangeVal;
    }

    public SalesPriceRateQueryVo(String storeCode, String storeId, String organizationId, boolean enabled, Boolean isDelete) {
        this.storeCode = storeCode;
        this.storeId = storeId;
        this.organizationId = organizationId;
        this.enabled = enabled;
        this.isDelete = isDelete;
    }

    public String getStoreCode() {
        return storeCode;
    }

    public void setStoreCode(String storeCode) {
        this.storeCode = storeCode;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public String getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    public Boolean getDelete() {
        return isDelete;
    }

    public void setDelete(Boolean delete) {
        isDelete = delete;
    }

    public BigDecimal getRangeVal() {
        return rangeVal;
    }

    public void setRangeVal(BigDecimal rangeVal) {
        this.rangeVal = rangeVal;
    }
}
